Get list of banks
GET /api/v1/Payments/banks
Description
This endpoint is used to retrieve a list of banks for payment options.
Tags:
Payments
URL:
/api/v{version}/Payments/banks
ApiKey:
No API key required
Content-Type:
No request body
Query Parameters:
None
Response:
Success, returns a list of banks for payment options.
Error Codes:
None
Example:
GET /api/v1/Payments/banks
Accept-Language: en
/api/v1/Payments/banks
Headers
| Content-Type | Value |
|---|---|
| Accept-Language |
Headers
| Content-Type | Value |
|---|---|
| Accept | text/plain |
Response: 200
{
"succeeded": `<boolean>`,
"message": `<string>`,
"errors": [
`<string>`,
`<string>`
],
"data": {
"banks": [
{
"name": `<string>`,
"code": `<string>`
},
{
"name": `<string>`,
"code": `<string>`
}
]
}
}
LANGUAGE
CURL REQUEST
curl --request GET \
--url /api/v1/Payments/banks \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!